package com.xiaozhengkeji.blogsuper.bean.type;

public enum ResCodeType {
    Success("成功", 20000),
    Error("错误", 50000),
    InsufficientAuthority("权限不足", 40000);

    private String STATUS_NAME;
    private Integer STATUS_CODE;

    ResCodeType(String STATUS_NAME, Integer STATUS_CODE) {
        this.STATUS_NAME = STATUS_NAME;
        this.STATUS_CODE = STATUS_CODE;
    }

    public String getSTATUS_NAME() {
        return STATUS_NAME;
    }

    public void setSTATUS_NAME(String STATUS_NAME) {
        this.STATUS_NAME = STATUS_NAME;
    }

    public Integer getSTATUS_CODE() {
        return STATUS_CODE;
    }

    public void setSTATUS_CODE(Integer STATUS_CODE) {
        this.STATUS_CODE = STATUS_CODE;
    }
}
